<?php
/*
*   文章内页
*/
	$category = get_the_category();	//获取文章分类信息
	get_header();
	if(have_posts()):the_post();
?>
	<div class="pinpaiMenu po_r swiper-container">
		<ul class="menuScroll_lists  po_a cf swiper-wrapper">
	        <li class="swiper-slide"><a href="/" >首页<em></em></a></li>
	        <li class="swiper-slide"><a href="<?php echo get_category_link($category[0]->term_id);?>" ><?php echo $category[0]->name;?><em></em></a></li>
	        <li class="swiper-slide active"><a>正文<em></em></a></li>
		</ul>
	</div>
	<div class="content">
		<div class="title content_t"><?php the_title();?></div>
		<?php the_content();?>
		<nav class="context">
			<li class="prev"><?php if (get_previous_post()) { previous_post_link('上一篇: %link');} else {echo "上一篇：没有了，已经是最新文章";} ?></li>
			<li class="next"><?php if (get_next_post()) { next_post_link('下一篇: %link');} else {echo "下一篇：没有了，已经是最后文章";} ?></li>
		</nav>
	</div>
<?php
	endif;
	get_footer();
?>